package com.jinpeng.websocket.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @ProjectName: websocket
 * @Package: com.jinpeng.websocket.config
 * @ClassName: WebSocketConfig
 * @Description: java类作用描述
 * @Author: 唐朝
 * @CreateDate: 2019/12/14 11:45
 * @UpdateUser: 更新者
 * @UpdateDate: 2019/12/14 11:45
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Configuration
public class WebSocketConfig {

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}
